<include file="Public:header_no_navigation" />

<div class="container-fluid">
    <div class="row-fluid">
        <div class="dialog span4">
            <div class="block">
                <div class="block-heading">周伯通招聘 - 后台管理系统</div>
                <div class="block-body">
                    <form method="post" action="{:U('Index/doLogin')}">
                        <label>Email</label>
                        <input type="text" class="span12" name="email">
                        
                        <label>密码</label>
                        <input type="password" class="span12" name="password">
                        
                        <label>验证码</label>
                        <input type="text" class="span10" name="verify">&nbsp;
                        <a href="javascript:void(0);" onclick="changeVerify();"><img src="{:U('Index/verify')}" id="verifyImg" /></a>
                        
                        <button type="submit" class="btn btn-primary pull-right">登录</button>
                        <div class="clearfix"></div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
function changeVerify() {
    var date = new Date();
    var time = date.getTime();
    $("#verifyImg").attr("src", "{:U('Index/verify')}" + "/" + time);
}
</script>

<include file="Public:footer_no_navigation" />